<%if (@tab1)%>
    <%=render :partial => 'shared/sidebar/book_sidebar'%>
<%elsif (@tab2)%>
    <%=render :partial => 'shared/sidebar/comment_sidebar'%>
<%elsif (@tab3)%>
    <%=render :partial => 'shared/sidebar/tag_sidebar'%>
<%elsif (@tab4)%>	      
    <%=render :partial => 'shared/sidebar/user_sidebar'%>
<%end%>